package com.ruoyi.project.inspection.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 检测进度模板对象 vi_process_data
 * 
 * @author ruoyi
 * @date 2020-07-17
 */
public class ViProcessData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 类型id */
    @Excel(name = "类型id")
    private Long classId;

    /** 模块id */
    @Excel(name = "模块id")
    private Long modeId;

    /** 车辆信息id */
    @Excel(name = "车辆信息id")
    private Long vehicleId;

    /** 检测状态：未检测0，已检测1 */
    @Excel(name = "检测状态：未检测0，已检测1")
    private Integer state;

    /** 检测结果:0未检测，1检测合格，2检测不合格 */
    @Excel(name = "检测结果:0未检测，1检测合格，2检测不合格")
    private Integer result;

    /** 检测人员id */
    @Excel(name = "检测人员id")
    private Long userId;

    /** 检测部门id */
    @Excel(name = "检测部门id")
    private Long deptId;

    /** 检测时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "检测时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checkTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setClassId(Long classId) 
    {
        this.classId = classId;
    }

    public Long getClassId() 
    {
        return classId;
    }
    public void setModeId(Long modeId) 
    {
        this.modeId = modeId;
    }

    public Long getModeId() 
    {
        return modeId;
    }
    public void setVehicleId(Long vehicleId) 
    {
        this.vehicleId = vehicleId;
    }

    public Long getVehicleId() 
    {
        return vehicleId;
    }
    public void setState(Integer state) 
    {
        this.state = state;
    }

    public Integer getState() 
    {
        return state;
    }
    public void setResult(Integer result) 
    {
        this.result = result;
    }

    public Integer getResult() 
    {
        return result;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setCheckTime(Date checkTime) 
    {
        this.checkTime = checkTime;
    }

    public Date getCheckTime() 
    {
        return checkTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("classId", getClassId())
            .append("modeId", getModeId())
            .append("vehicleId", getVehicleId())
            .append("state", getState())
            .append("result", getResult())
            .append("remark", getRemark())
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .append("createTime", getCreateTime())
            .append("checkTime", getCheckTime())
            .toString();
    }
}
